home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
MPW_TOOL
/
TOOLS
/
TOOLS_WI
/
GAWK
/
GAWK-2
/
MISSING
/
DUP2.C
next >
Wrap
Text File
|
1990-08-19
|
136b
|
13 lines
#ifndef F_DUPFD
#include <fcntl.h>
#endif
int
dup2 (old, new)
int old, new;
{
(void) close(new);
return fcntl(old, F_DUPFD, new);
}